package latihan1;

class Circle {
	double radius;
	
	Circle(){
		radius = 1.0;
	}
	
	Circle(double r) {
		radius = r;
	}
	
	double findArea(){
		return 3.14 * radius * radius;
	}
	
	public static void main (String[] args){
		Circle circlec1 = new Circle();
		System.out.println(circlec1.findArea());
		Circle circlec2 = new Circle(5);
		System.out.println(circlec2.findArea());
	}
}
